package com.bdqn.ch01.service;

import com.bdqn.ch01.dao.UserDao;
import com.bdqn.ch01.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImp implements UserService {

    @Autowired
    UserDao userDao;

    @Override
    public User getUserByIdBiz() {
        return userDao.getUserById();
    }
}
